package com.csun.dsms.service.impl;

import com.csun.dsms.comment.core.support.BaseService;
import com.csun.dsms.mapper.DsmsFeeMapper;
import com.csun.dsms.model.domain.DsmsFee;
import com.csun.dsms.model.vo.FeeVo;
import com.csun.dsms.model.vo.ServiceRecordVo;
import com.csun.dsms.service.DsmsFeeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DsmsFeeServiceImpl extends BaseService<DsmsFee> implements DsmsFeeService {

    @Resource
    private DsmsFeeMapper dsmsFeeMapper;

    /*
     *结算管理查看
     * */
    @Override
    public List<FeeVo> feeQuery(FeeVo feeVo) {
        return dsmsFeeMapper.feeQuery(feeVo);
    }

    /*
     *结算管理详情查看
     * */
    @Override
    public List<ServiceRecordVo> feeQueryByArea(FeeVo feeVo) {
        return dsmsFeeMapper.feeQueryByArea(feeVo);
    }

    /*
     * 首页结算金额
     * */
    @Override
    public List<FeeVo> feeQueryByMonth(FeeVo feeVo) {
        return dsmsFeeMapper.feeQueryByMonth(feeVo);
    }
}
